#include "Color.h"

Color::Color( float r,float g,float b,float a )
{
	_rgba = new float[4];
	_rgba[0] = r;
	_rgba[1] = g;
	_rgba[2] = b;
	_rgba[3] = a;
}
Color::~Color()
{
	delete []_rgba;
}

ostream & operator<< (ostream &o, const Color &col)
{
	o << "< " << col._rgba[0] << " | " << col._rgba[1] << " | " << col._rgba[2] << " | " << col._rgba[3] << " >" << endl;
	return o;
}
